<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><i style="color:#ff0029;margin-right: 5px;">*</i>{:__('Shop_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input  id="c-shop_id" type="text" data-rule="required" class="form-control selectpage" data-source="store/shop/index" placeholder="选择门店" data-search-field="shopname" data-field="shopname" name="row[shop_id]"/>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('提现类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="cateList" item="vo"}
                    <label for="row[cate]-{$key}"><input id="row[cate]-{$key}" name="row[cate]" type="radio" value="{$key}" /> {$vo}</label> 
                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-amount" class="form-control" step="0.01" name="row[amount]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">储值余额(元):</label>
        <div class="col-xs-6 col-sm-4">
            <span class="valuebalance" style="line-height: 42px;">0</span>
        </div>
        <label class="control-label col-xs-12 col-sm-2">账户余额(元):</label>
        <div class="col-xs-6 col-sm-4">
            <span class="accountbalance" style="line-height: 42px;">0</span>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">储值已提现(元):</label>
        <div class="col-xs-6 col-sm-4">
            <span class="storedwithdrawtotal" style="line-height: 42px;">0</span>
        </div>
        <label class="control-label col-xs-12 col-sm-2">账户已提现(元):</label>
        <div class="col-xs-6 col-sm-4">
            <span class="accountwithdrawtotal" style="line-height: 42px;">0</span>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">储值可提现(元):</label>
        <div class="col-xs-6 col-sm-4">
            <span class="availablestoredwithdraw" style="line-height: 42px;">0</span>
        </div>
        <label class="control-label col-xs-12 col-sm-2">账户可提现(元):</label>
        <div class="col-xs-6 col-sm-4">
            <span class="availableaccountwithdraw" style="line-height: 42px;">0</span>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
